<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:replace="common/top"></div>

<div id="BackLink">
    <a href="/catalog/view">Return to Main Menu</a>
</div>

<div id="Catalog">
<!--todo :获取选择修改的目录-->
    <h2 th:text="|please fill in new information of category:${choosedCategory.categoryId}|">please fill in new information of the category:</h2>
    <!--    todo:提交到后台-->
    <form action="/catalogM/modifyCategory">
        <table>
            <tr>
                <label><th>catid:</th><th><input type="text" th:value="${choosedCategory.categoryId}" name="categoryId"></label></th>
            </tr>
            <tr>
                <label><th>name:</th><th><input type="text" th:value="${choosedCategory.name}" name="name"></th></label>
            </tr>
            <tr>
                <th colspan="2" style="text-align: center"><button type="submit" style="    background: linear-gradient(
                50deg,#ade6ae, #097acc)">确认修改</button></th>
            </tr>
        </table>
    </form>



</div>


<div th:replace="common/bottom"></div>


</body>
</html>